package basic;

import org.auditlogger.api.AuditLogger;
import org.auditlogger.api.AuditLoggerFactory;
import org.auditlogger.api.EventType;
import org.auditlogger.api.LogRecord;

public class Runner {
	
	public static void main (String[] args) {
		try {
		AuditLogger logger = 
			AuditLoggerFactory.getInstance().getLogger(Runner.class);
		
		logger.log(new LogRecord(EventType.EVENT_TYPE_SUCCESS, "Hello World"));
		logger.log(new LogRecord(EventType.EVENT_TYPE_SUCCESS, "Hi"));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
